package org.jeecg.modules.inspection.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 巡检运行检查项目
 * @Author: jeecg-boot
 * @Date:   2019-09-26
 * @Version: V1.0
 */
@Data
@TableName("process_inspection_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="process_inspection_item对象", description="巡检运行检查项目")
public class PinspectionItem {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
	private String name;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
	private String tenantId;
	/**巡检运行主表id*/
	@Excel(name = "巡检运行主表id", width = 15)
    @ApiModelProperty(value = "巡检运行主表id")
	private String processId;
	/**巡检执行范围id*/
	@Excel(name = "巡检执行范围id", width = 15)
    @ApiModelProperty(value = "巡检执行范围id")
	private String processAreaId;
	/**巡检项配置表id*/
	@Excel(name = "巡检项配置表id", width = 15)
    @ApiModelProperty(value = "巡检项配置表id")
	private String configItemId;
	/** 巡检项编号*/
	private Integer number;
	/**是否巡检 0：未巡检  1: 已巡检*/
	@Excel(name = "是否巡检 0：未巡检  1: 已巡检", width = 15)
    @ApiModelProperty(value = "是否巡检 0：未巡检  1: 已巡检")
	private Integer isCheck;
	/**巡检结果: 0：正常  1：异常*/
	@Excel(name = "巡检结果: 0：正常  1：异常", width = 15)
    @ApiModelProperty(value = "巡检结果: 0：正常  1：异常")
	private Integer isCheckRes;
	/**巡检异常处理结果 0:已解决  1:未解决*/
	@Excel(name = "巡检异常处理结果 0:已解决  1:未解决", width = 15)
    @ApiModelProperty(value = "巡检异常处理结果 0:已解决  1:未解决")
	private Integer execComfirmStatus;
	/**巡检人id*/
	@Excel(name = "巡检人id", width = 15)
    @ApiModelProperty(value = "巡检人id")
	private String userId;
	/**创建者*/
	@Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新者*/
	@Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**备注信息*/
	@Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
	private String remarks;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
	private String delFlag;
	@TableField(exist = false)
	private String exceExplain;
	@TableField(exist = false)
	private List<PinspectionException> exceptionList;

}
